package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户管理对象 moon_user
 * 
 * @author admin
 * @date 2024-11-05
 */
public class MoonUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickName;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phoneNumber;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 头像 */
    @Excel(name = "头像")
    private String imgUrl;

    /** 城市id */
    private Long cityId;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 省id */
    private Long provinceId;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 验证码 */
    private String captcha;


    /** 微信唯一标识 */
    private String openId;

    /** 是否可用 */
    private String delFlag;

    private String code;

    private String passwordGet;

    private String channel;

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setProvinceId(Long provinceId) 
    {
        this.provinceId = provinceId;
    }

    public Long getProvinceId() 
    {
        return provinceId;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

    public String getPasswordGet() {
        return passwordGet;
    }

    public void setPasswordGet(String passwordGet) {
        this.passwordGet = passwordGet;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nickName", getNickName())
            .append("password", getPassword())
            .append("phoneNumber", getPhoneNumber())
            .append("gender", getGender())
            .append("imgUrl", getImgUrl())
            .append("createTime", getCreateTime())
            .append("cityId", getCityId())
            .append("city", getCity())
            .append("provinceId", getProvinceId())
            .append("province", getProvince())
            .append("openId", getOpenId())
            .append("delFlag", getDelFlag())
            .append("captcha", getCaptcha())
            .append("passwordGet", getPasswordGet())
            .toString();
    }

}
